#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include "globalParameter.h"
#include <QWidget>
#include "interface/IInterface.h"
#include "QMainWindow"
#include "centerwidget.h"

class CMainWindow : public QMainWindow
{
    Q_OBJECT
public:
    CMainWindow(interface::IInterface *beginInterface, \
                QMainWindow *parent = 0);
    ~CMainWindow();

public Q_SLOTS:
    // just set the identified interface as the main widget
    // the center widget is provided by CCenterWidget
    void changeCenterWidget();

private:
    CCenterWidget * m_centerWidget;
};

#endif // MAINWINDOW_H
